﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Com.CMS263.BLL;
using Com.CMS263.Util;
using Com.CMS263.Caches;
namespace Com.CMS263.Web.manage
{
    public partial class left : System.Web.UI.Page
    {
        public string power = "";
        public AdminUserBLL aubll = new AdminUserBLL();
        protected void Page_Load(object sender, EventArgs e)
        {

            BindTree();
            AdminLoginInfo info = AdminLoginCookie.GetLoginInfo();
            Com.CMS263.PO.AdminUser au = new Com.CMS263.PO.AdminUser();
            au = aubll.GetAdminUserByID(info.UserID);
            power = new AdminRoleBLL().GetAdminPowerByID(au.roleID);
        }
        public void BindTree()
        {
            this.myMenu.Text = MenuCache.GetMenu();
        }
    }
}
